package com.zrf.gulimall.search.service;

import com.zrf.gulimall.commnon.core.es.SkuEsModel;

import java.io.IOException;
import java.util.List;

/**
 * @Author zhanrf
 * @Date 2021/12/19 1:27
 */
public interface ProductService {
	/**
	 * 商品上架
	 * @param skuEsModels sku索引模型
	 * @return 是否索引成功
	 */
	boolean productStatusUp(List<SkuEsModel> skuEsModels) throws IOException;
}
